<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>UCloudMediaPlayer Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1333)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">IJKMediaPlayer-static </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">UCloud</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/bufferDuration">bufferDuration</option>
		
		<option value="//api/name/cachedDuration">cachedDuration</option>
		
		<option value="//api/name/defaultDecodeMethod">defaultDecodeMethod</option>
		
		<option value="//api/name/defaultScalingMode">defaultScalingMode</option>
		
		<option value="//api/name/enableLogFile">enableLogFile</option>
		
		<option value="//api/name/getAVFrameTimeout">getAVFrameTimeout</option>
		
		<option value="//api/name/lastLogFileName">lastLogFileName</option>
		
		<option value="//api/name/lastLogFilePath">lastLogFilePath</option>
		
		<option value="//api/name/logFileSize">logFileSize</option>
		
		<option value="//api/name/logFiles">logFiles</option>
		
		<option value="//api/name/logFilesMaxSize">logFilesMaxSize</option>
		
		<option value="//api/name/logsDirectory">logsDirectory</option>
		
		<option value="//api/name/player">player</option>
		
		<option value="//api/name/prepareTimeout">prepareTimeout</option>
		
		<option value="//api/name/rtmpSubscribe">rtmpSubscribe</option>
		
		<option value="//api/name/url">url</option>
		
		<option value="//api/name/urlType">urlType</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/ucloudMediaPlayer">+ ucloudMediaPlayer</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/getSDKVersion">- getSDKVersion</option>
		
		<option value="//api/name/refreshView">- refreshView</option>
		
		<option value="//api/name/selectDecodeMethod:">- selectDecodeMethod:</option>
		
		<option value="//api/name/selectDefinition:">- selectDefinition:</option>
		
		<option value="//api/name/showInview:definition:">- showInview:definition:</option>
		
		<option value="//api/name/showMediaPlayer:urltype:frame:view:completion:">- showMediaPlayer:urltype:frame:view:completion:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">UCloudMediaPlayer Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>UCloudMediaPlayer.h</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/defaultScalingMode" title="defaultScalingMode"></a>
	<h3 class="method-title"><code><a href="#//api/name/defaultScalingMode">&nbsp;&nbsp;defaultScalingMode</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>画面填充方式</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) MPMovieScalingMode defaultScalingMode</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/defaultDecodeMethod" title="defaultDecodeMethod"></a>
	<h3 class="method-title"><code><a href="#//api/name/defaultDecodeMethod">&nbsp;&nbsp;defaultDecodeMethod</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>默认的解码方式</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) DecodeMethod defaultDecodeMethod</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/url" title="url"></a>
	<h3 class="method-title"><code><a href="#//api/name/url">&nbsp;&nbsp;url</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>播放地址</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic) NSURL *url</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/urlType" title="urlType"></a>
	<h3 class="method-title"><code><a href="#//api/name/urlType">&nbsp;&nbsp;urlType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>视频类型（直播、点播）</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) UrlType urlType</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/rtmpSubscribe" title="rtmpSubscribe"></a>
	<h3 class="method-title"><code><a href="#//api/name/rtmpSubscribe">&nbsp;&nbsp;rtmpSubscribe</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>适用于rtmp直播协议，向服务器发送FCSubscribe命令,一般填写streamID，比如播放地址为rtmp://xxx.com/app/id,此处填写id</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic) NSString *rtmpSubscribe</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/cachedDuration" title="cachedDuration"></a>
	<h3 class="method-title"><code><a href="#//api/name/cachedDuration">&nbsp;&nbsp;cachedDuration</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>丢帧策略缓存时长阀值，适用于直播，单位 ms，建议范围:0-5000，默认为3000。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) NSInteger cachedDuration</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当 cachedDuration > 0，播放器会触发追帧策略，缩短播放延时。cachedDuration &lt;= 0 不启用。</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/bufferDuration" title="bufferDuration"></a>
	<h3 class="method-title"><code><a href="#//api/name/bufferDuration">&nbsp;&nbsp;bufferDuration</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>卡顿时的缓存时长，适用于直播，单位 ms，建议范围：1000-6000，默认为3000。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) NSInteger bufferDuration</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>当播放器发生卡顿开始缓存时，缓冲视频数据时长为bufferDuration。该值越大卡顿缓冲时间越长，但是后续卡顿率会所有降低。当bufferDuration设置为0时，播放器将不发生缓冲，有数据则即刻播放，对网络比较敏感，容易发生卡顿，如果对延时要求不高的可以适当设置cachedDuration缓存一定量的音视频数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/prepareTimeout" title="prepareTimeout"></a>
	<h3 class="method-title"><code><a href="#//api/name/prepareTimeout">&nbsp;&nbsp;prepareTimeout</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>暂时适用于直播，播放准备完成超时时间设置，单位 ms，默认10000，推荐范围5000-150000，超时会收到UCloudPlayerPlaybackDidFinishNotification消息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) NSInteger prepareTimeout</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getAVFrameTimeout" title="getAVFrameTimeout"></a>
	<h3 class="method-title"><code><a href="#//api/name/getAVFrameTimeout">&nbsp;&nbsp;getAVFrameTimeout</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>暂时适用于直播，获取音频或视频帧超时设置，单位 ms，默认10000，推荐范围5000-150000，超时会收到UCloudPlayerPlaybackDidFinishNotification消息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) NSInteger getAVFrameTimeout</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/enableLogFile" title="enableLogFile"></a>
	<h3 class="method-title"><code><a href="#//api/name/enableLogFile">&nbsp;&nbsp;enableLogFile</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否开启日志文件，默认开启</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) bool enableLogFile</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/logFiles" title="logFiles"></a>
	<h3 class="method-title"><code><a href="#//api/name/logFiles">&nbsp;&nbsp;logFiles</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>所有日志文件名</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic, readonly) NSArray *logFiles</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/logsDirectory" title="logsDirectory"></a>
	<h3 class="method-title"><code><a href="#//api/name/logsDirectory">&nbsp;&nbsp;logsDirectory</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>日志文件路径，</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic, readonly) NSString *logsDirectory</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/lastLogFilePath" title="lastLogFilePath"></a>
	<h3 class="method-title"><code><a href="#//api/name/lastLogFilePath">&nbsp;&nbsp;lastLogFilePath</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>最近的日志文件路径</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic, readonly) NSString *lastLogFilePath</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/lastLogFileName" title="lastLogFileName"></a>
	<h3 class="method-title"><code><a href="#//api/name/lastLogFileName">&nbsp;&nbsp;lastLogFileName</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>最近的日志文件名</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic, readonly) NSString *lastLogFileName</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/logFileSize" title="logFileSize"></a>
	<h3 class="method-title"><code><a href="#//api/name/logFileSize">&nbsp;&nbsp;logFileSize</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>每个日志文件的大小，每个日志文件如若达到该大小将会进行一次压缩保存，减少沙盒使用量，默认1M</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) NSInteger logFileSize</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/logFilesMaxSize" title="logFilesMaxSize"></a>
	<h3 class="method-title"><code><a href="#//api/name/logFilesMaxSize">&nbsp;&nbsp;logFilesMaxSize</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>日志文件夹大小，超过会清理日志，默认20M</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (assign, nonatomic) NSInteger logFilesMaxSize</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/player" title="player"></a>
	<h3 class="method-title"><code><a href="#//api/name/player">&nbsp;&nbsp;player</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>播放器控制器</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (strong, nonatomic) id&lt;UCloudMediaPlayback&gt; player</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ucloudMediaPlayer" title="ucloudMediaPlayer"></a>
	<h3 class="method-title"><code><a href="#//api/name/ucloudMediaPlayer">+&nbsp;ucloudMediaPlayer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>初始化mediaPlayer</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)ucloudMediaPlayer</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UCloudMediaPlayer</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showMediaPlayer:urltype:frame:view:completion:" title="showMediaPlayer:urltype:frame:view:completion:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showMediaPlayer:urltype:frame:view:completion:">&ndash;&nbsp;showMediaPlayer:urltype:frame:view:completion:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>配置播放view</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)showMediaPlayer:(NSString *)<em>url</em> urltype:(UrlType)<em>urltype</em> frame:(CGRect)<em>frame</em> view:(UIView *)<em>view</em> completion:(UCloudMediaCompletionBlock)<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>url</code></th>
						<td><p>播放<a href="#//api/name/url">url</a></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>urltype</code></th>
						<td><p>播放类型</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>frame</code></th>
						<td><p>playerView视图大小，默认传入CGRectNull</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p><a href="#//api/name/player">player</a></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>初始化完成</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showInview:definition:" title="showInview:definition:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showInview:definition:">&ndash;&nbsp;showInview:definition:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>配置播放view</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)showInview:(UIView *)<em>view</em> definition:(void ( ^ ) ( NSInteger defaultNum , NSArray *data ))<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p>父view</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>回掉清晰度信息</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/selectDecodeMethod:" title="selectDecodeMethod:"></a>
	<h3 class="method-title"><code><a href="#//api/name/selectDecodeMethod:">&ndash;&nbsp;selectDecodeMethod:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>切换解码方式</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)selectDecodeMethod:(DecodeMethod)<em>decode</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>decode</code></th>
						<td><p>切换后的解码方式</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/selectDefinition:" title="selectDefinition:"></a>
	<h3 class="method-title"><code><a href="#//api/name/selectDefinition:">&ndash;&nbsp;selectDefinition:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>切换清晰度</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)selectDefinition:(Definition)<em>definition</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>definition</code></th>
						<td><p>切换后的清晰度</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getSDKVersion" title="getSDKVersion"></a>
	<h3 class="method-title"><code><a href="#//api/name/getSDKVersion">&ndash;&nbsp;getSDKVersion</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取播放器SDK版本号</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSString *)getSDKVersion</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/refreshView" title="refreshView"></a>
	<h3 class="method-title"><code><a href="#//api/name/refreshView">&ndash;&nbsp;refreshView</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>刷新视图</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)refreshView</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UCloudMediaPlayer.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 UCloud. All rights reserved. Updated: 2017-04-18</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1333)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>